package com.chart.chart.domian;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.chart.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ChartFilesNew  extends BaseEntity {


    private static final long serialVersionUID = 1L;

    /** 参数主键 */
    @TableId(value = "file_id", type = IdType.ASSIGN_ID)
    private Long fileId;

    /** 父级id */
    private Long parentId;

    /** 文件夹名称 */
    private String fileName;

    /** 用户id */
    private Long userId;

    private Integer sort;

    /**  图表 2 大屏 3文件夹 */
    private Integer chartModeType;

    @TableField(exist = false)
    private List<ChartFiles> children;

    @TableField(exist = false)
    private List<Long> ids;

    @TableField(exist = false)
    private List<ChartConfigsAndViewsVo> chartConfigsAndViewsVos;

    @TableField(exist = false)
    private String parentName;

}
